<SCRIPT type="text/javascript">
									var setting = {
										data: {
											simpleData: {
												enable: true
											}
										},
										check: {
									        enable: true
										 },
										callback: {
											//onCollapse: alert("up"),
											onExpand: function(){
												if (treeNiceScroll) {
													treeNiceScroll.resize();
												}
											},
											onClick:onClick
										},
										view: {
											showLine: false
										}
									};
									
									var zNodes1 =[
							      		{ id:"0", pId:0, name:"系统角色", open:true, icon:"/assets/images/icon-file-closed.png"}
							      		<#if groupList??>
							      			<#list	groupList as group>
							      				,{ id:"${group.id!''}",roleid:"0",groupid:"${group.id!''}", pId:"${group.parentid!''}",name:"${group.name!''}",icon:"/assets/images/icon-file-closed.png"}
							      			</#list>
							      		</#if>
							      		<#if roleList??>
							      		<#list roleList as role>
							      			,{ id:"${role.id!''}", roleid:"${role.id!''}",groupid:"${role.groupid!''}", value:"${role.id!''}", name:"${role.name!''}",  icon:"/assets/images/group_blue.png" ,pId:"${role.groupid!''}"}
							      			</#list>
							      		</#if>	
							      	];
									
									function onClick(event, treeId, treeNode, clickFlag) {
										$("#userList_tbody").html("<td colspan='4'>正在加载数据...</td>");
										loadURL("/${orgi}/user/report/${tabid}/rolegroupselect/"+treeNode.groupid+"/"+treeNode.roleid+".html" , $("#userList_tbody") , null)
									}	
								
									ztree = $.fn.zTree.init($(document.getElementById("zTree_level_organ_LIst")), setting, zNodes1);
									//页面初始化数据，选中默认的群组，并查询出该群组下的用户
									ztree.selectNode(ztree.getNodeByParam("id", "0", null));
								</SCRIPT>
								<div id="authselect_div" style="padding:3px;min-height:130px; display: none;">
									<div class="middleArt">
									<form class="form-horizontal" data-toggle="form" id="userimportForm" action="" method="post">
										<div class="artMain">
											<div class="mainCenter">
												<div class="dialogWrapper_0313">
													<table class="spliptHalf_0313">
														<tr>
															<td class="spwrap" style="width: 30px;">
																<div class="lftTreeWrap setScroll">
																	<ul>
																	<li class="cur" style="width:100px;height:100px;text-align:center;padding-top: 50%;">
																		<a href="javascript:void(0)" onclick="loadURL('/rivues/user/report/0/organ/selUser.html','#seluser',function(){hideMenu();})"><i class="imgIco-15"></i></a>
																		<a href="#">角色分组</a>
																	</li>
																	<li  style="width:100px;height:100px;text-align:center;padding-top: 50%;">
																		<a href="javascript:void(0)" onclick="loadURL('/rivues/user/report/0/role/selUser.html','#seluser',function(){hideMenu();})"><i class="imgIco-15"></i></a>
																		<a href="#">组织分组</a>
																	</li>
																</ul>
																</div>
															</td>
															<td class="spwrap">
																<div class="lftTreeWrap setScroll">
																	<div class="ztree" id="zTree_level_organ_LIst"></div>
																</div>
															</td>
															<td class="spwrapright">
																<div class="lftTreeWrap setScroll">
																<table class="table_style_1">
																	<thead>
																		<tr>
																			<th>&nbsp;&nbsp;&nbsp;&nbsp;</th>
																			<th><i class="verMidWrap">用户姓名</i><i class="tbArrow"></i></th>
																			<th><i class="verMidWrap">创建时间</i><i class="tbArrow"></i></th>
																		</tr>
																	</thead>
																	<tbody id="userList_tbody">
									<#if useroleList ??>
															<#list useroleList as userRole>
																<tr>
																	<td class="tdIcons"><input type="checkbox" name="userownerids" value="${userRole.user.id!''}"/></td>
																	<td >${userRole.user.username!''}</td>
																	<td >${userRole.user.createtime?string("yyyy-MM-dd HH:mm:ss")}</td>
																</tr>
															</#list>
														</#if>
																	</tbody>
																</table>
																</div>
															</td>
														</tr>
													</table>
												</div>
											</div>
										</div>
										</form>
									</div>
								</div>	

																	
																